/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>
#include <cstring>
using namespace std;

int main_88()
{
    int n;
    scanf("%d",&n);
    char X[n+1][n+1];//a null-terminating charactor
    memset(X,0,sizeof(X));
    for (int i=0; i<n ; ++i )
    {
        int spaceLen=(i<n/2)?n-i:i+1;
        for (int j=0; j<spaceLen; ++j )
        {
            X[i][j]=' ';
        }
        X[i][i]=X[i][n-i-1]='*';
        puts(X[i]);
    }
    return 0;
}
